import http from "../https"
// const baseURL='http://82.157.143.31:8080'
const baseURL = "http://82.157.143.31:8080"

//权限列表
const home = (obj) => http({
    url: `${baseURL}/jurisdiction/initializeDesktop`,
    method: 'get',
    params: { ...obj }
})
//便签查询
const memo = (obj) => http({
    url: `${baseURL}/jurisdiction/findEmployeeNote`,
    method: 'get',
    params: { ...obj }
})

//新增查询
const addmemo = (obj) => http({
    url: `${baseURL}/jurisdiction/addEmployeeNote`,
    method: 'post',
    data: { ...obj }
})
// 员工信息
const user = (id) => http({
    url: `${baseURL}/jurisdiction/initializeEmployee`,
    method: 'get',
    params: { id }
})

export { home, addmemo, memo }